package org.csmzxyclass2334;
class BankAccount{
    String accountNumber;
    double balance;
    public void broadcast(String accountNumber,double balance){
        System.out.println("账户"+accountNumber+"的余额为"+balance+"元");
    }
}
public class Example03 {
    public Example03() {
    }

    public static void main(String[] args) {
        BankAccount account = new BankAccount();
        account.accountNumber = "123456";
        account.balance = -500.0;
        account.broadcast(account.accountNumber, account.balance);
    }
}
